<template>
    <div class="container">
        <Modal
            v-model="value.modal5"
            title="跟进日志"
            @on-ok="sure"
            @on-cancel="cancel">
            <p>Content of dialog</p>
            <p>Content of dialog</p>
            <p>Content of dialog</p>
        </Modal>
    </div>
</template>
<script>
import{businessDailyTask}from "../../api/business";
export default {
    props: {
        value: {
            type: Object,
            default: () => {
                return {
                    salesId: null,
                    modal5: false
                }
            }
        }
    },
    data(){
        return{

        }
    },
    mounted() {
        console.log(this.value.salesId)
        this.getDailyTask()
    },
    methods:{
        sure(){

        },
        cancel(){
            
        },
        getDailyTask(){
            businessDailyTask(this.value.salesId).then(res=>{
                console.log(res)
            })
        }
    }
}
</script>
<style lang="less" scoped>

</style>